package inventory;

/**
 * InventoryItem class implements the inventory item objects. Each inventory
 * object has attributes that describe an item, such as a name, who owns it,
 * it's ID, author, type, etc.
 *
 * @author Reynaldo Gonzales.
 * @version 1.0
 *
 */
public class InventoryItem {

    public int itemID;
    public int userID;
    public int status;
    public int ownerID;
    public String itemCategory;
    public String itemName;
    public String itemNameLong;
    public String itemAuthor;
    public String itemPublisher;
    public String itemISBN;
    public String itemSummary;

    /**
     * InventoryItem function defines the default construction and definition of
     * inventory item objects and information.
     *
     * @param a item ID integer, designates an item's ID number.
     * @param b user ID integer, designates a user's ID number.
     * @param c item status code integer, designates the current status of the
     * item.
     * @param d owner ID integer, designates the ID number of the owner who owns
     * the object.
     * @param e category of the item; typically a book.
     * @param f name of the item; typically a book's name.
     * @param g longer name of the item; typically the full extension of a
     * book's name.
     * @param h author of the item; typically an author of a book.
     * @param i publisher of the item, typically the publisher of a book.
     * @param j ISBN of the item, typically the ISBN of a book.
     * @param k summary of the item, typically a synopsis of a book.
     *
     */
    public InventoryItem(int i, int u, int s, int o,
            String category, String name, String nameLong,
            String author, String publisher, String ISBN,
            String summary) {
        itemID = i;
        userID = u;
        status = s;
        ownerID = o;
        itemCategory = category;
        itemName = name;
        itemNameLong = nameLong;
        itemAuthor = author;
        itemPublisher = publisher;
        itemISBN = ISBN;
        itemSummary = summary;
    }
}